package com.gu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * The table 物业表
 */
public class PropertyDO{

    /**
     * id id.
     */
    private Integer id;
    /**
     * repairStatus 维修状态：0——未完成，1——已完成，2——作废.
     */
    private Integer repairStatus;
    /**
     * repairDescribe 维修描述.
     */
    private String repairDescribe;
    /**
     * repairPicturePath 维修描述图片地址.
     */
    private String repairPicturePath;
    /**
     * ownerId 业主编号.
     */
    private Integer ownerId;
    /**
     * repairType 维修类型.
     */
    private Integer repairType;
    /**
     * createTime 创建时间.
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    /**
     * updateTime 最后一次修改时间.
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;

    /**
     * 维修人员编码
     */
    private Integer engineerCode;

    /**
     * 公寓房间编码
     */
    private Integer apartmentCode;

    public Integer getEngineerCode() {
        return engineerCode;
    }

    public void setEngineerCode(Integer engineerCode) {
        this.engineerCode = engineerCode;
    }

    public Integer getApartmentCode() {
        return apartmentCode;
    }

    public void setApartmentCode(Integer apartmentCode) {
        this.apartmentCode = apartmentCode;
    }

    /**
     * Set id id.
     */
    public void setId(Integer id){
        this.id = id;
    }

    /**
     * Get id id.
     *
     * @return the string
     */
    public Integer getId(){
        return id;
    }

    /**
     * Set repairStatus 维修状态：0——未完成，1——已完成，2——作废.
     */
    public void setRepairStatus(Integer repairStatus){
        this.repairStatus = repairStatus;
    }

    /**
     * Get repairStatus 维修状态：0——未完成，1——已完成，2——作废.
     *
     * @return the string
     */
    public Integer getRepairStatus(){
        return repairStatus;
    }

    /**
     * Set repairDescribe 维修描述.
     */
    public void setRepairDescribe(String repairDescribe){
        this.repairDescribe = repairDescribe;
    }

    /**
     * Get repairDescribe 维修描述.
     *
     * @return the string
     */
    public String getRepairDescribe(){
        return repairDescribe;
    }

    /**
     * Set repairPicturePath 维修描述图片地址.
     */
    public void setRepairPicturePath(String repairPicturePath){
        this.repairPicturePath = repairPicturePath;
    }

    /**
     * Get repairPicturePath 维修描述图片地址.
     *
     * @return the string
     */
    public String getRepairPicturePath(){
        return repairPicturePath;
    }

    /**
     * Set ownerId 业主编号.
     */
    public void setOwnerId(Integer ownerId){
        this.ownerId = ownerId;
    }

    /**
     * Get ownerId 业主编号.
     *
     * @return the string
     */
    public Integer getOwnerId(){
        return ownerId;
    }

    /**
     * Set repairType 维修类型.
     */
    public void setRepairType(Integer repairType){
        this.repairType = repairType;
    }

    /**
     * Get repairType 维修类型.
     *
     * @return the string
     */
    public Integer getRepairType(){
        return repairType;
    }

    /**
     * Set createTime 创建时间.
     */
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    /**
     * Get createTime 创建时间.
     *
     * @return the string
     */
    public Date getCreateTime(){
        return createTime;
    }

    /**
     * Set updateTime 最后一次修改时间.
     */
    public void setUpdateTime(Date updateTime){
        this.updateTime = updateTime;
    }

    /**
     * Get updateTime 最后一次修改时间.
     *
     * @return the string
     */
    public Date getUpdateTime(){
        return updateTime;
    }
}
